<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #p1 {
            width: 100px;
            height: 30px;
            background-color: greenyellow;
            color: red;
            text-align: center;
            line-height: 30px;
        }

        span {
            font-size: 25px;
            font-style: italic;
        }

        #p3 {
            font-weight: normal;
            text-shadow: deepskyblue -10px 10px 3px;
        }

        #p4 {
            text-decoration: underline;
        }

        a {
            text-decoration: none;
            font-size: 20px;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div id="p1">刘德华</div>
<div>张学友</div>

<span>苹果</span>
<span>香蕉</span>

<h1 id="p3">冰箱</h1>
<h1 id="p4">洗衣机</h1>

<a href="http://www.baidu.com">百度</a>
</body>
</html>